package com.lyz.auth.domain.convert;

import com.lyz.auth.domain.entity.AuthRoleBo;
import com.lyz.auth.infra.basic.entity.AuthRole;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 角色bo转换器
 *
 * @author: YizeLee
 * @date: 2024/4/27
 */
@Mapper
public interface AuthRoleBoConverter {

    AuthRoleBoConverter INSTANCE = Mappers.getMapper(AuthRoleBoConverter.class);

    AuthRole convertBoToEntity(AuthRoleBo authRoleBo);

}
